package com.ddone.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ddone
 * @date 2024/3/25-09:32
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.datasource")
public class DatasourceConfigProp {
    private String driverClassName;
    private String url;
    private String username;
    private String password;
}
